@import "../style/layout.css";
@import "../style/typography.css";

body {
  font-size: 14px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img {
  vertical-align: middle;
  border-style: none;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.block-wrapper {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  position: relative;
  border-radius: 4px;
  background: var(--widget-container, rgba(0, 0, 0, 0));
}

.block-wrapper__bg {
  /* backdrop-filter: blur(6px); */
  background: rgba(50, 57, 68, 1);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  z-index: -1;
  border-radius: 4px;
}

.b-warning-info__title {
  padding-bottom: 22px;
}

.block-wrapper__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 90%;
  padding: 12px 16px 12px;
}

.block-wrapper .block-title {
  text-indent: 4px;
  opacity: 0.8;
  font-size: 18px;
  color: var(--primary-text, #fff);
  line-height: 22px;
  font-weight: 700;
}

.block-wrapper .b-live-video__tips {
  display: flex;
  flex-wrap: wrap;
}

.block-wrapper .b-warning-info__content {
  width: 360px;
}

.block-wrapper .dpro-select-dropdown {
  max-width: 100%;
  min-height: .1rem !important;
  max-height: 1.4rem !important;
  background-color: rgba(0, 0, 0, .6);
  backdrop-filter: blur(16px);
  overflow: auto;
}

.block-wrapper .dpro-select-dropdown::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgb(191, 191, 191);
}

.block-wrapper .dpro-select-dropdown::-webkit-scrollbar {
  width: 0 !important;
  height: 5px !important;
}

.block-wrapper .dpro-select-dropdown > div {
  width: fit-content;
}

.block-wrapper .dpro-select-dropdown .ant-select-tree {
  backdrop-filter: blur(6px);
  background-color: rgba(255, 255, 255, .6);
}

.block-wrapper .dpro-select-dropdown .ant-select-tree {
  padding: 0;
}

.ant-select-tree-treenode-switcher-close:hover {
  background-color: #ffffff;
}

.ant-select-tree li .ant-select-tree-node-content-wrapper:hover {
  background-color: transparent;
  color: #000000 !important;
}

.ant-select-tree li {
  /* padding: 0.041667rem 0; */
  line-height: 36px;
  margin: 0;
}

.ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
  background-color: #fff !important;
  color: #000000 !important;
}

.ant-select-tree li .ant-select-tree-node-content-wrapper {
  color: #fff !important;
}

.ant-select-selection__clear, .ant-select-selection__clear:hover {
  background-color: rgba(255, 255, 255, .6) !important;
  color: rgba(0, 0, 0, 1) !important;
  border-radius: 50%;
}

.ant-select-arrow {
  top: 64% !important;
  color: #fff !important;
  right: 4% !important;
}

.ant-select-arrow > * {
  line-height: 0 !important;
}

.ant-select-arrow svg {
  border-bottom: 0px solid transparent;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
  width: 0;
  overflow: hidden;
  height: 0;
}

/* 毛玻璃 */
.blur-data {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.border-gradient {
  border: 1px solid #fff;
  border-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)) 1;
}

.block-wrapper__title {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}